﻿using System;
using System.Collections.Generic;

using GalaSoft.MvvmLight;

using Holdem.Interfaces.Resource;
using Holdem.Interfaces.Statistics;
using Holdem.Interfaces.ViewModel;

namespace Holdem.ViewModel
{
    public class HoldemOddsViewModel : ViewModelBase, IHoldemOddsViewModel
    {
        private readonly IHoldemResource _resource;
        

        public IEnumerable<IHoleOdds> HoleOdds
        {
            get
            {
                return _resource.HoleOdds();
            }
        }

        public HoldemOddsViewModel(IHoldemResource resource)
        {
            if (resource == null)
                throw new ArgumentNullException("resource");

            _resource = resource;
        }
    }
}